package com.sakura.order.feign;

import org.springframework.stereotype.Component;

/**
 * @author Sakura
 * @date 2023/7/27 17:30
 */
@Component
public class ProductFeignServiceFallback implements ProductFeignService {

    @Override
    public String get(Integer id) {
        return "product服务异常降级";
    }

    @Override
    public Integer getUnitPrice(String productNo) {
        return 0;
    }
}
